package wifiunion.com.notice;

import android.support.v4.app.Fragment;


/**
 * Created by Administrator on 2016/11/28.
 */

public abstract  class BaseSubFragment extends Fragment {

    public abstract void initview();

    public abstract  void initData();

    @Override
    public void onResume() {
        super.onResume();
//        getView().setFocusableInTouchMode(true);
//        getView().requestFocus();
//        getView().setOnKeyListener(new View.OnKeyListener() {
//            @Override
//            public boolean onKey(View v, int keyCode, KeyEvent event) {
//
//                if (event.getAction() == KeyEvent.ACTION_UP && keyCode == KeyEvent.KEYCODE_BACK) {
//                    getContext().sendBroadcast(new Intent(Constants.UQUIT_APP_ACTION));
//                }
//                return true;
//            }
//        });
    }
}
